﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using nplJobsDAL;

public partial class Employeer_CategoryList : BasePage // System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (HttpContext.Current.Session["user"] != null && HttpContext.Current.Session["user"].Equals(General.Users.JobSeeker.ToString()))
        {
            Response.Redirect("../JobSeeker/EditProfile.aspx");
            return;
        }

        nplJobsDAL.Select.SelectCategoryWithJobSeeker scj = new nplJobsDAL.Select.SelectCategoryWithJobSeeker();
        RepeaterJobCategory.DataSource = scj.GetJobSeekerCountByCategory();
        RepeaterJobCategory.DataBind();
    }
}